SearchInResourceRequest

data class SearchInResourceRequest(frameId: FrameId, url: String, query: String, caseSensitive: Boolean?, isRegex: Boolean?)

Represents request frame that can be used with Page#searchInResource operation call.

Searches for given string in resource content.

See also

Constructors

SearchInResourceRequest
Link copied to clipboard
fun SearchInResourceRequest(frameId: FrameId, url: String, query: String, caseSensitive: Boolean? = null, isRegex: Boolean? = null)

Properties

caseSensitive
Link copied to clipboard
val caseSensitive: Boolean? = null
If true, search is case sensitive.
frameId
Link copied to clipboard
val frameId: FrameId
Frame id for resource to search in.
isRegex
Link copied to clipboard
val isRegex: Boolean? = null
If true, treats string parameter as regex.
query
Link copied to clipboard
val query: String
String to search for.
url
Link copied to clipboard
val url: String
URL of the resource to search in.

Sources

jvm source
Link copied to clipboard